package com.yufubao.model.dto.management.check;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 张一恒
 * @version 1.0
 * @description: 用户申请商户结果对象
 * @date 2024/8/30 08:59
 */
@Data
@ApiModel(value = "用户申请商户结果对象", description = "用户申请商户结果参数")
public class MerchantApplicationDto {

    @NotNull(message = "申请单id不能为空", groups = {success.class, fila.class})
    @ApiModelProperty("申请单id")
    private Long supplierInfoId;

    //法人
    @ApiModelProperty("法人")
    private String legalPerson;
    //店铺名称
    @ApiModelProperty("店铺名称")
    private String storeName;
    //身份证号
    @ApiModelProperty("身份证号")
    private String  idNumber;
    //详细地址
    @ApiModelProperty("详细地址")
    private String  address;

    //失败原因
    @ApiModelProperty("失败原因")
    @NotBlank(message = "失败原因不能为空", groups = {fila.class})
    private String failCause;


   public interface success {

    }

   public interface fila {

    }

}
